﻿namespace BaddiesEditor
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    /// <summary>
    /// Arguments for the confirmation of a new map.
    /// </summary>
    class NewMapConfirmArg : EventArgs
    {
        /// <summary>
        /// Width of the new map in columns.
        /// </summary>
        private int width;

        /// <summary>
        /// Height of the new map in rows.
        /// </summary>
        private int height;

        /// <summary>
        /// Size of a tile in pixels.
        /// </summary>
        private int tileSize;

        /// <summary>
        /// Gets or sets the width of the map.
        /// </summary>
        /// <value>Width in columns.</value>
        public int Width
        {
            get { return this.width; }
            set { this.width = value; }
        }

        /// <summary>
        /// Gets or sets the height of the map.
        /// </summary>
        /// <value>Height in rows.</value>
        public int Height
        {
            get { return this.height; }
            set { this.height = value; }
        }

        /// <summary>
        /// Gets or sets the tile size.
        /// </summary>
        /// <value>Size of the tile in pixels.</value>
        public int TileSize
        {
            get { return this.tileSize; }
            set { this.tileSize = value; }
        }

        /// <summary>
        /// Initializes a new instance of the NewMapConfirmArg class.
        /// </summary>
        /// <param name="width">Width of the new map.</param>
        /// <param name="height">Height of the new map.</param>
        /// <param name="tileSize">Tilesize of the map.</param>
        public NewMapConfirmArg(int width, int height, int tileSize)
        {
            this.width = width;
            this.height = height;
            this.tileSize = tileSize;
        }

        /// <summary>
        /// Initializes a new instance of the NewMapConfirmArg class.
        /// </summary>
        public NewMapConfirmArg()
        {
            this.width = 0;
            this.height = 0;
            this.tileSize = 0;
        }
    }
}
